/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package uit.ieproject.business;

import java.sql.SQLException;
import java.util.ArrayList;
import uit.ieproject.dataaccess.GroupRegexDAO;

/**
 *
 * @author Maivia
 */
public class GroupRegexBLO {

    private GroupRegexDAO groupDAO = new GroupRegexDAO();

    public ArrayList<String> getNameAtType(String type) throws SQLException {
        return groupDAO.getNameAtType(type);
    }

    public String getNameGroup(String name, String type) throws SQLException {
        return groupDAO.getNameGroup(name, type);
    }
}
